package com.lovo.manage_back.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 供应商
 * @TableName t_suppliers
 */
@TableName(value ="t_suppliers")
@Data
public class Suppliers implements Serializable {
    /**
     * 供应商id
     */
    @TableId(value = "sl_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 供应商名字
     */
    @TableField(value = "sl_name")
    private String name;

    /**
     * 负责人名字
     */
    @TableField(value = "sl_person")
    private String person;

    /**
     * 负责人电话
     */
    @TableField(value = "sl_person_phone")
    private String personPhone;

    /**
     * 供应商地址
     */
    @TableField(value = "sl_addr")
    private String addr;

    /**
     * 经营范围
     */
    @TableField(value = "sl_business")
    private String business;

    /**
     * 创建时间
     */
    @TableField(value = "sl_create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "sl_update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}